package com.foryou.wechat.service;

import com.foryou.wechat.utils.Response;

/**
 * <h1>场地类别接口汇总</h1>
 * Created by Lee.
 */
public interface PlaceTypeService {

    /**
     * <h2>添加场地类型信息</h2>
     *
     * @param name
     * @return
     */
    Response addPlaceType(String name);

    /**
     * <h2>修改场地类别信息</h2>
     *
     * @param placeTypeId
     * @param name
     * @return
     */
    Response updatePlaceType(Long placeTypeId,String name);

    /**
     * <h2>禁用或者恢复</h2>
     * @param placeTypeId
     * @return
     */
    Response enabledPlaceType(Long placeTypeId);

    /**
     * <h2>删除场地类别信息</h2>
     * @param placeTypeId
     * @return
     */
    Response deletePlaceType(Long placeTypeId);

    /**
     * <h2>得到场地类别信息</h2>
     * @param placeTypeId
     * @return
     */
    Response getPlaceTypeInfo(Long placeTypeId);

    /**
     * <h2>得到所有可用的场地类型</h2>
     * @return
     */
    Response getPlaceTypeList();
}
